﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<GlassStore.Models.Glass>>" %>


      <ul id="glass-list">
        <% foreach (var glass in Model)
           { %>
           <li>
            <a href="<%:Url.Action("Details", new{id=glass.GlassId}) %>">
                    <img alt="<%: glass.GlassName %>" src="<%:glass.ThumbnailSmall %>"  width="160" height="160" />
            </a>
                    <span class="title"><%: glass.GlassName %></span><br />
                    <span class="price">批发价:<%: glass.Price %></span>
           </li>
        <% } %>
      </ul>
